<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>横线</title>
  <link href="../src/css/layui.css" rel="stylesheet">
</head>
<body style="padding: 20px;">
默认分割线
<hr>
赤色分割线
<hr class="layui-border-red">
橙色分割线
<hr class="layui-border-orange">
墨绿分割线
<hr class="layui-border-green">
青色分割线
<hr class="layui-border-cyan">
蓝色分割线
<hr class="layui-border-blue">
黑色分割线
<hr class="layui-border-black">
<script src="../src/layui.js"></script>
<script>
// 使用组件
layui.use(['element'], function(){
  var element = layui.element;

});
</script>
</body>
</html>